# -*- coding:utf-8 -*-


from aircos.db.api.apiutlis import APIResult,dec_make_conn_cursor

def list_career_can_use():

    @dec_make_conn_cursor
    def main(conn, cursor):

        sql = """
                select * from tb_article
                """

        try:
            cursor.execute(sql)
            info = cursor.fetchall()

        except Exception as e:
            raise e

        result_dict = {
            "result": info,
        }

        return APIResult(result=result_dict)

    return main()